﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FortuneHeavenCommon.DataMap
{
    public partial class RecordUserEnter
    {
        public const string TABLE_NAME = "RecordUserEnter";
        public const string INSERT_SQL = "insert into RecordUserEnter([UserID],[Score],[KindID],[ClientIP],[ServerID],[EnterTime],[RecordID]) values (@UserID,@Score,@KindID,@ClientIP,@ServerID,@EnterTime,@RecordID)";
        public const string UPDATE_SQL = "UPDATE RecordUserEnter SET [UserID]=@UserID,[Score]=@Score,[KindID]=@KindID,[ClientIP]=@ClientIP,[ServerID]=@ServerID,[EnterTime]=@EnterTime,[RecordID]=@RecordID where ID = @ID";

        /// <summary>
        ///
        /// </summary>
        public int UserID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public double Score
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int KindID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string ClientIP
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int ServerID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public DateTime EnterTime
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int RecordID
        {
            get;
            set;
        }
    }

}
